<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-html-el" prefix="html" %>
<%@ taglib uri="http://amc.af.mil/portal-el" prefix="portal" %>
<%@ taglib uri="http://amc.af.mil/radtaglibrary" prefix="rad" %>
<%@ taglib prefix="display" uri="http://displaytag.sf.net" %>

<html>
<head>
    <title>View User</title>
</head>

<body>

<rad:useBean id="userViewHelper"/>
<rad:useBean id="equipmentItemViewHelper"/>

<div id="portal-left-bar">
    <jsp:include page="../../navigation/navigationMenu.jsp"/>
</div>

<div id="portal-content">
    <portal:box title="View Users" width="800px">

        <portal:subSection title="Details">

        </portal:subSection>
        <portal:subSection title="Users With Assigned Equipment">

            <display:table name="equipmentItemViewHelper.allByUser"
                           decorator="mil.af.amc.adpetracker.web.decorators.EquipmentItemDecorator"
                           style="width:100%"
                           excludedParams="method">
                <display:column property="equipmentType" title="Type"/>
                <display:column property="manufacturer"/>
                <display:column property="model"/>
                <display:column property="description"/>
                <display:column property="serialNumber" title="Serial"/>
                <display:column property="assignedUser" title="Assigned To"/>
                <display:column property="userProfilePageActions" title="Actions"/>
            </display:table>
        </portal:subSection>
    </portal:box>
</div>
</body>
</html>